import service from "@/utils/request";
// 获取最新计划的年份
export const GetCurrentYear = (params) => {
    return service({
        url: "ERepository/GetCurrentYear",
        method: "get",
        params: params
    })
};
// 项目分类列表
export const GetitemList = (params) => {
    return service({
        url: "ERepository/GetitemList",
        method: "get",
        params: params
    })
};
// 部门项目计划数
export const GetDeptDataTotal = (params) => {
    return service({
        url: "ERepository/GetDeptDataTotal",
        method: "get",
        params: params
    })
};
// 统计项目库
export const GetDataTotal = (params) => {
    return service({
        url: "ERepository/GetDataTotal",
        method: "get",
        params: params
    })
};

//开竣工情况
export const GetBuildTotal = (params) => {
    return service({
        url: "ERepository/GetBuildTotal",
        method: "get",
        params: params
    })
}

//投资入库情况
export const GetInvestTotal = (params) => {
    return service({
        url: "ERepository/GetInvestTotal",
        method: "get",
        params: params
    })
}

//异常检测情况
export const GetAlarmTotal = (params) => {
    return service({
        url: "ERepository/GetAlarmTotal",
        method: "get",
        params: params
    })
}

//异常预警三色图
export const GetAlarmColorTotal = (params) => {
    return service({
        url: "ERepository/GetAlarmColorTotal",
        method: "get",
        params: params
    })
}

//协调问题情况
export const GetAssignTotal = (params) => {
    return service({
        url: 'ERepository/GetAssignTotal',
        method: 'get',
        params: params
    })
}

//项目进展绩效
export const GetProgressTotal = (params) => {
    return service({
        url: 'ERepository/GetProgressTotal',
        method: 'get',
        params: params
    })
}

//协调问题项目清单
export const GetAssignData = (params) => {
    return service({
        url: 'ERepository/GetAssignData',
        method: 'get',
        params: params
    })
}

//预警清单
export const GetAlarmColorData = (params) => {
    return service({
        url: 'ERepository/GetAlarmColorData',
        method: 'get',
        params: params
    })
}

//开竣工项目列表
export const GetBuildData = (params) => {
    return service({
        url: 'ERepository/GetBuildData',
        method: 'get',
        params: params
    })
}

//投资入库项目列表
export const GetInvestData = (params) => {
    return service({
        url: 'ERepository/GetInvestData',
        method: 'get',
        params: params
    })
}


//异常监测预警情况
export const GetDeptDifficultyTotal = (params) => {
    return service({
        url: '/ERepository/GetDeptDifficultyTotal',
        method: 'get',
        params: params
    })
}